package edu.hcnu.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description:
 * @author: Administrator
 * @time: 2023/4/29 18:17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("车次实体类")
public class Car {
    @ApiModelProperty(value = "车次号", required = true, example = "1001")
        private String id;
    @ApiModelProperty(value = "起点站", required = true, example = "宜州")

    private String startStation;
    @ApiModelProperty(value = "终点站", required = true, example = "北京")

    private String endStation;
    @ApiModelProperty(value = "座位数量", required = true, example = "102")
        private Integer seat;
}
